#ifndef SQLFUNC_H
#define SQLFUNC_H


#include <stdio.h>
#include <stdlib.h>
#include "sqlite3.h"
#include "md5/md5.h"
#include <windows.h>
#include <time.h>
#include "gbkAndUtf.h"
#include "textcodec.h"
//#include "gbk2utf8.h"
extern char strCmd[10];
sqlite3 * openSql(char * p,sqlite3 *db);
unsigned char getCommcmd(char *dst,char *src,int len);
void echoSelectSql(sqlite3 *db,char *sql_cmd,char *sqlitePath,char *sql_cmd2);
void CmdSelectSql(sqlite3 *db,char *sql_cmd,char *sqlitePath,unsigned long long num);
void echoInsertSql(sqlite3 *db,char *sql_cmd,char *sqlitePath,time_t timeVar);
#endif
